home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Demos / A.D. Software / OOFILE / PhoneControl OOFILE sample / Source / CCompletedImport.h < prev    next >
Text File  |  1995-12-13  |  1KB  |  53 lines

  1. // CCompletedImport.h -- dialog class
  2. // Created 01/01/95 12:01 PM by AppMaker
  3.  
  4. #pragma once
  5.  
  6. #include <LDialogBox.h>
  7. #define cmd_CompletedImport        'Comt'
  8. #define    rPPob_CompletedImport     203
  9.  
  10. class    LStream;
  11.  
  12. class    LStdButton;
  13. class LCaption;
  14.  
  15.  
  16.  
  17. //----------
  18. class    CCompletedImport :    public LDialogBox {
  19. public:    // these comprise the programming interface for using the dialog
  20. static    CCompletedImport*        CreateCompletedImport        (LCommander        *inSuperCommander);
  21.  
  22.  
  23. public:    // these comprise the implementation
  24.     static    CCompletedImport*    CreateCompletedImportStream    (LStream    *inStream);
  25.  
  26.                         CCompletedImport();
  27.                         CCompletedImport        (LStream    *inStream);
  28.     virtual                ~CCompletedImport();
  29.  
  30.  
  31.     virtual void        ListenToMessage        (MessageT    inMessage,
  32.                                              void        *ioParam);
  33.  
  34.     virtual Boolean        ObeyCommand            (CommandT    inCommand,
  35.                                              void        *ioParam = nil);
  36.     virtual void        FindCommandStatus    (CommandT    inCommand,
  37.                                              Boolean    &outEnabled,
  38.                                              Boolean    &outUsesMark,
  39.                                              Char16        &outMark,
  40.                                              Str255        outName);
  41.     virtual Boolean        FocusDraw();
  42.     
  43.     void    SetImported(unsigned long);
  44.  
  45. protected:
  46.     virtual void        FinishCreateSelf();
  47.  
  48.     protected:
  49.         LStdButton            *mOKButton;
  50.         LCaption                *mNumImported;
  51.  
  52.     };
  53.